package com.sleepapp.dao;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.sleepapp.entity.CheckInRecord;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.sleepapp.vo.CheckInRecordQueryAllVo;
import com.sleepapp.vo.CheckInRecordVo;
import com.sleepapp.vo.DashboardData;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 * 打卡记录表 Mapper 接口
 * </p>
 *
 * @author 
 * @since 2025-03-13
 */
public interface CheckInRecordDao extends BaseMapper<CheckInRecord> {

    List<CheckInRecordVo> listCheckInRecordData(@Param("userId") long userId);

    IPage<CheckInRecordQueryAllVo> getAll(Page<CheckInRecordQueryAllVo> page);
}
